/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo01_while循环 {
    public static void main(String[] args) {

        boolean flag = true;

        // 先判断，再执行
        while (flag){
            System.out.println("你好啊！");
            System.out.println("我好啊！");
        }

        System.out.println("程序结束");

    }
}
